package com.baor.controller;


import com.baor.service.SyslogService;
import com.baor.utils.AjaxResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/syslog")
public class SyslogController {

    @Autowired
    private SyslogService syslogService;

    @RequestMapping("/logList")
    public AjaxResult<?> logList(@RequestBody Map<String,Object> map){
        return syslogService.logList(map);
    }

}
